package com.atguigu.srb.sms.client;

import org.springframework.stereotype.Component;

@Component
public class CoreUserInfoClientFallback implements CoreUserInfoClient {
    @Override
    public boolean checkMobile(String mobile) {
        System.out.println("checkMobile异常兜底");
        return true;// 手机号已经注册
    }

    @Override
    public String test() {
        System.out.println("test降级处理兜底值");
        return "test降级处理";
    }
}
